home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Communication / NewsBase / Source / IFolderScrollView.m < prev    next >
Text File  |  1993-01-12  |  636b  |  35 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import "IFolderScrollView.h"
  5. #import "IFolderScrollMatrix.h"
  6.  
  7. @implementation IFolderScrollView
  8.  
  9. - initFrame:(NXRect *)frameRect
  10. {
  11.     [super initFrame:frameRect];
  12.     [self setBorderType:NX_BEZEL];
  13.     [self setHorizScrollerRequired:YES];
  14.     
  15.     return self;
  16. }
  17.  
  18. - reflectScroll:cView
  19. {
  20.     int        trow, tcol, i;
  21.     
  22.     // do normal stuff
  23.     //[super reflectScroll:cView];
  24.     
  25.     
  26.     [oFolderView getNumRows:&trow numCols:&tcol];
  27.     for (i = 0; i <= (tcol-1); ++i) {
  28.     [oFolderView registerCellAt:0 :i window:nil];
  29.     }
  30.     //return self;
  31.     return ([super reflectScroll:cView]);
  32. }
  33.  
  34. @end
  35.